package com.pine.common.beans.pineframework.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 用户修改状态请求体
 * </p>
 *
 * @author pine manage
 * @since 2024-08-16
 */
@Data
@Schema(title = "SysUserUpdateStatusRequest", description = "用户修改状态请求体")
public class SysUserUpdateStatusRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = -6100179537993275629L;

    /**
     * 用户ID
     */
    @NotNull(message = "用户ID不能为空")
    @Schema(title = "id", description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    /**
     * 状态:1=启用,0=禁用
     */
    @NotNull(message = "用户状态不能为空")
    @Schema(title = "status", description = "状态:1=启用,0=禁用", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer status;
}
